package com.ys.num3.Service.Imp;

import com.ys.num3.Entity.Emp;
import com.ys.num3.Mapper.EmpMapper;
import com.ys.num3.Service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpServiceImp implements EmpService {
    @Autowired
    private EmpMapper mapper;

    @Override
    public Emp getEmpById(Integer id) {
        Emp emp = new Emp();
        return mapper.selectById(id);
    }

}
